package com.blqy.fr.model.log;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "人工成本记录")
@TableName("artificial_ir_log")
public class ArtificialIr extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "工作部门")
    @TableField("work_department")
    private String workDepartment;

    @Schema(description = "工种")
    @TableField("job_type")
    private String jobType;

    @Schema(description = "用量")
    @TableField("number")
    private Integer number;

    @Schema(description = "单价(元)")
    @TableField("price")
    private BigDecimal price;

    @Schema(description = "金额")
    @TableField("amount")
    private BigDecimal amount;

    @Schema(description = "备注")
    @TableField("remarks")
    private String remarks;
}